package domain;

import java.util.List;

public class Goods  {
    private int goodsid;
    private String goodsname;
    private int typeid;
    private String goodsprice;
    private String goodsdesc;
    private String supplier;
    private int qty;
    private String goodspic;

    public Goods(int goodsid, String goodsname, int typeid, String goodsprice, String goodsdesc, String supplier, int qty, String goodspic) {
        this.goodsid = goodsid;
        this.goodsname = goodsname;
        this.typeid = typeid;
        this.goodsprice = goodsprice;
        this.goodsdesc = goodsdesc;
        this.supplier = supplier;
        this.qty = qty;
        this.goodspic = goodspic;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public int  getTypeid() {
        return typeid;
    }

    public void setTypeid(int  typeid) {
        this.typeid = typeid;
    }

    public String getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getGoodsdesc() {
        return goodsdesc;
    }

    public void setGoodsdesc(String goodsdesc) {
        this.goodsdesc = goodsdesc;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public String getGoodspic() {
        return goodspic;
    }

    public void setGoodspic(String goodspic) {
        this.goodspic = goodspic;
    }
}
